<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>编辑</title>
<link rel="stylesheet" href="../plugins/static/ace/css/bootstrap.css" />
		<link rel="stylesheet" href="../plugins/static/ace/css/font-awesome.css" />
		<link rel="stylesheet" href="../plugins/static/ace/css/ace-fonts.css" />
		<!-- ace styles -->
		<link rel="stylesheet" href="../plugins/static/ace/css/ace.css" class="ace-main-stylesheet" id="main-ace-style" />
		<script type="text/javascript" src="../plugins/static/js/jquery-1.7.2.js" />
		<!-- 日期框 -->
		<link rel="stylesheet" href="../plugins/static/ace/css/datepicker.css" />
		<script type="text/javascript">
			$(top.hangge());
		</script>
		<!--提示框-->
	<script type="text/javascript" src="../plugins/static/js/jquery.tips.js"></script>
</head>
<body>
<div class="main-container" id="main-container">
		<div class="main-content">
			<div class="main-content-inner">
				<div class="page-content">
					<div class="row">
						<div class="col-xs-12">
							<form action="transportClause/addTransportClauseInfo" method="post" name="transportClauseForm" id="transportClauseForm">
								<div id="zhongxin" style="padding-top: 13px;">
								<fieldset>
											<table style="margin-top:5px;"class="table table-striped table-bordered table-hover">
											<tr>
 										<td><span class="span10">快速检索码：</span></td>
										<td><input type="text" name="FAST_SEARCH_CODE" id="FAST_SEARCH_CODE"  maxlength="32" value="${pd.FAST_SEARCH_CODE }"/></td>
 										
										<td>是否可用：</td>
														<td>
														<select maxlength="32" style="width:98%;"name="ENABLE">
											
														  <option value="1" <c:if test="${pd.ENABLE==1 }">selected</c:if>>是</option>
														  <option value="0" <c:if test="${pd.ENABLE==0 }">selected</c:if>>否</option>
														</select>
														</td>
										<td><span class="span10">船舶代码：</span></td>
										<td><input type="text" name="SHIP_CODE" id="SHIP_CODE"  maxlength="32" value="${pd.SHIP_CODE }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">船名：</span></td>
									<td><input type="text" name="SHIP_NAME" id="SHIP_NAME"  maxlength="32"value="${pd.SHIP_NAME }" /></td>
 									<td><span class="span10">结算单位：</span></td>
									<td><input type="text" name="SETTLE_UNIT" id="SETTLE_UNIT"  maxlength="32" value="${pd.SETTLE_UNIT }"/></td>
 									<td>船舶属性：</td>
														<td>
														<select maxlength="32" style="width:98%;"name="SHIP_ATTRIBUTE">
											
														  <option <c:if test="${pd.SHIP_ATTRIBUTE=='自有船' }">selected</c:if>>自有船</option>
														  <option  <c:if test="${pd.SHIP_ATTRIBUTE=='期租船'}">selected</c:if>>期租船</option>
														   <option <c:if test="${pd.SHIP_ATTRIBUTE=='光租船' }">selected</c:if>>光租船</option>
														  <option <c:if test="${pd.SHIP_ATTRIBUTE=='外配船'}">selected</c:if>>外配船</option>
														</select>
														</td>
 									</tr>
 									<tr>
 									<td><span class="span10">英文名：</span></td>
									<td><input type="text" name="ENGLISH_NAME" id="ENGLISH_NAME"  maxlength="32" value="${pd.ENGLISH_NAME }"/></td>
									<td><span class="span10">船舶总长：</span></td>
									<td><input type="text" name="SHIP_TOTAL_LENGTH" id="SHIP_TOTAL_LENGTH"  maxlength="32" onkeyup="number()"value="${pd.SHIP_TOTAL_LENGTH }"/><i>(M)</i><font color="red">*</font>
									<span style="display:none" id="showPage">请输入数字和小数点</span></td>
									<td><span class="span10">海关监管部号码：</span></td>
									<td><input type="text" name="CUSTOMS_SUPERVISE_NUMBER" id="CUSTOMS_SUPERVISE_NUMBER"  maxlength="32" value="${pd.CUSTOMS_SUPERVISE_NUMBER }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">船长：</span></td>
									<td><input type="text" name="SHIP_LENGTH" id="SHIP_LENGTH"  maxlength="32" onkeyup="number()"value="${pd.SHIP_LENGTH }"/><i>(M)</i><font color="red">*</font>
									<span style="display:none" id="showPage1">请输入数字和小数点</span></td>
									<td><span class="span10">最大船高：</span></td>
									<td><input type="text" name="MAX_BOAT_HIGH" id="MAX_BOAT_HIGH"  maxlength="32" onkeyup="number()"value="${pd.MAX_BOAT_HIGH }"/><i>(M)</i><font color="red">*</font>
									<span style="display:none" id="showPage2">请输入数字和小数点</span></td>
									<td><span class="span10">最大船宽：</span></td>
									<td><input type="text" name="MAX_BOAT_WIDE" id="MAX_BOAT_WIDE"  maxlength="32" onkeyup="number()"value="${pd.MAX_BOAT_WIDE }"/><i>(M)</i><font color="red">*</font>
									<span style="display:none" id="showPage3">请输入数字和小数点</span></td>
 									</tr>
 									<tr>
 									<td><span class="span10">总吨：</span></td>
									<td><input type="text" name="GROSS_REGISTERED_TONNAGE" id="GROSS_REGISTERED_TONNAGE"  maxlength="32" onkeyup="numberTwo()"value="${pd.GROSS_REGISTERED_TONNAGE }"/><i>(T)</i><font color="blue">*</font>
									<span style="display:none" id="show">请输入数字</span></td>
									<td><span class="span10">净吨：</span></td>
									<td><input type="text" name="NET_TON" id="NET_TON"  maxlength="32" onkeyup="numberTwo()"value="${pd.NET_TON }"/><i>(T)</i><font color="blue">*</font>
									<span style="display:none" id="show1">请输入数字</span></td>
									<td><span class="span10">型深：</span></td>
									<td><input type="text" name="TYPE_DEEP" id="TYPE_DEEP"  maxlength="32" onkeyup="number()"value="${pd.TYPE_DEEP }"/><i>(M)</i><font color="red">*</font>
									<span style="display:none" id="showPage4">请输入数字和小数点</span></td>
 									</tr>
 									<tr>
 									<td><span class="span10">载货量：</span></td>
									<td><input type="text" name="FREIGHT_CAPACITY" id="FREIGHT_CAPACITY"  maxlength="32" onkeyup="number()"value="${pd.FREIGHT_CAPACITY }"/><i>(T)</i><font color="red">*</font>
									<span style="display:none" id="showPage5">请输入数字和小数点</span></td>
									<td><span class="span10">满载排水量：</span></td>
									<td><input type="text" name="LOAD_DISPLACEMENT" id="LOAD_DISPLACEMENT"  maxlength="32" onkeyup="number()"value="${pd.LOAD_DISPLACEMENT }"/><i>(T)</i><font color="red">*</font>
									<span style="display:none" id="showPage6">请输入数字和小数点</span></td>
									<td><span class="span10">空载排水量：</span></td>
									<td><input type="text" name="LIGHT_DISPLACEMENT" id="LIGHT_DISPLACEMENT"  maxlength="32" onkeyup="number()"value="${pd.LIGHT_DISPLACEMENT }"/><i>(T)</i><font color="red">*</font>
									<span style="display:none" id="showPage7">请输入数字和小数点</span></td>
 									</tr>
 									<tr>
 									<td><span class="span10">满载吃水：</span></td>
									<td><input type="text" name="LOAD_DRAUGHT" id="LOAD_DRAUGHT"  maxlength="32" onkeyup="number()"value="${pd.LOAD_DRAUGHT }"/><i>(M)</i><font color="red">*</font>
									<span style="display:none" id="showPage8">请输入数字和小数点</span></td>
									<td><span class="span10">空载吃水：</span></td>
									<td><input type="text" name="LIGHT_DRAUGHT" id="LIGHT_DRAUGHT"  maxlength="32" onkeyup="number()"value="${pd.LIGHT_DRAUGHT }"/><i>(M)</i><font color="red">*</font>
									<span style="display:none" id="showPage9">请输入数字和小数点</span></td>
									<td><span class="span10">主机台数：</span></td>
									<td><input type="text" name="MASTER_NUMBER" id="MASTER_NUMBER"  maxlength="32" onkeyup="numberTwo()"value="${pd.MASTER_NUMBER }"/><font color="blue">*</font>
									<span style="display:none" id="show2">请输入数字</span></td>
 									</tr>
 									<tr>
 									<td><span class="span10">主机功率：</span></td>
									<td><input type="text" name="MASTER_POWER" id="MASTER_POWER"  maxlength="32" onkeyup="numberTwo()"value="${pd.MASTER_POWER }"/><i>(KW)</i><font color="blue">*</font>
									<span style="display:none" id="show3">请输入数字</span></td>
									<td><span class="span10">主机型号：</span></td>
									<td><input type="text" name="MASTER_TYPE_NUMBER" id="MASTER_TYPE_NUMBER"  maxlength="32" value="${pd.MASTER_TYPE_NUMBER }"/></td>
									<td><span class="span10">集装箱数：</span></td>
									<td><input type="text" name="CONTAINER_NUMBER" id="CONTAINER_NUMBER"  maxlength="32" value="${pd.CONTAINER_NUMBER }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">航线（航区）：</span></td>
									<td><input type="text" name="ROUTE" id="ROUTE"  maxlength="32" value="${pd.ROUTE }"/></td>
									<td><span class="span10">建造日期：</span></td>
<%-- 									<td><input type="text" name="BUILD_DATE" id="BUILD_DATE"  maxlength="32" value="${pd.BUILD_DATE }"/></td> --%>
									<td><input class="span10 date-picker" name="BUILD_DATE" id="BUILD_DATE"   type="text" data-date-format="yyyy-mm-dd" readonly="readonly" value="${pd.BUILD_DATE }"/></td>
									<td><span class="span10">危险平适装种类：</span></td>
									<td><input type="text" name="DANGEROUS_GOODS_TYPE" id="DANGEROUS_GOODS_TYPE"  maxlength="32" value="${pd.DANGEROUS_GOODS_TYPE }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">证件有效期：</span></td>
<%-- 									<td><input type="text" name="CERTIFICATE_VALIDITY_TERM" id="CERTIFICATE_VALIDITY_TERM"  maxlength="32" value="${pd.CERTIFICATE_VALIDITY_TERM }"/></td> --%>
									<td><input class="span10 date-picker" name="CERTIFICATE_VALIDITY_TERM" id="CERTIFICATE_VALIDITY_TERM"   type="text" data-date-format="yyyy-mm-dd" readonly="readonly" value="${pd.CERTIFICATE_VALIDITY_TERM }"/></td>
									<td><span class="span10">联系电话：</span></td>
									<td><input type="text" name="TEL" id="TEL"  maxlength="32" value="${pd.TEL }"/></td>
									<td><span class="span10">船舶类型：</span></td>
									<td><input type="text" name="SHIP_TYPE" id="SHIP_TYPE"  maxlength="32" value="${pd.SHIP_TYPE }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">交通部批文有效期：</span></td>
<%-- 									<td><input type="text" name="TRAFFIC_DEPARTMENT_APPROVAL_VALIDITY_TERM" id="TRAFFIC_DEPARTMENT_APPROVAL_VALIDITY_TERM"  maxlength="32" value="${pd.TRAFFIC_DEPARTMENT_APPROVAL_VALIDITY_TERM }"/></td> --%>
									<td><input class="span10 date-picker" name="TRAFFIC_DEPARTMENT_APPROVAL_VALIDITY_TERM" id="TRAFFIC_DEPARTMENT_APPROVAL_VALIDITY_TERM"   type="text" data-date-format="yyyy-mm-dd" readonly="readonly" value="${pd.TRAFFIC_DEPARTMENT_APPROVAL_VALIDITY_TERM }"/></td>
									<td><span class="span10">内外贸同船有效期：</span></td>
<%-- 									<td><input type="text" name="INTERNAL_FOREIGN_TRADE_VALIDITY_TERM" id="INTERNAL_FOREIGN_TRADE_VALIDITY_TERM"  maxlength="32" value="${pd.INTERNAL_FOREIGN_TRADE_VALIDITY_TERM }"/></td> --%>
									<td><input class="span10 date-picker" name="INTERNAL_FOREIGN_TRADE_VALIDITY_TERM" id="INTERNAL_FOREIGN_TRADE_VALIDITY_TERM"   type="text" data-date-format="yyyy-mm-dd" readonly="readonly" value="${pd.INTERNAL_FOREIGN_TRADE_VALIDITY_TERM }"/></td>
									<td><span class="span10">光船租赁有效期：</span></td>
<%-- 									<td><input type="text" name="BAREBOAT_LEASE_VALIDITY_TERM" id="BAREBOAT_LEASE_VALIDITY_TERM"  maxlength="32" value="${pd.BAREBOAT_LEASE_VALIDITY_TERM }"/></td> --%>
									<td><input class="span10 date-picker" name="BAREBOAT_LEASE_VALIDITY_TERM" id="BAREBOAT_LEASE_VALIDITY_TERM"   type="text" data-date-format="yyyy-mm-dd" readonly="readonly" value="${pd.BAREBOAT_LEASE_VALIDITY_TERM }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">保险类型：</span></td>
									<td><input type="text" name="INSURANCE_TYPE" id="INSURANCE_TYPE"  maxlength="32" value="${pd.INSURANCE_TYPE }"/></td>
									<td><span class="span10">投保人：</span></td>
									<td><input type="text" name="POLICY_HOLDER" id="POLICY_HOLDER"  maxlength="32" value="${pd.POLICY_HOLDER }"/></td>
									<td><span class="span10">保险公司：</span></td>
									<td><input type="text" name="INSURANCE_COMPANY" id="INSURANCE_COMPANY"  maxlength="32" value="${pd.INSURANCE_COMPANY }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">投保时间：</span></td>
<%-- 									<td><input type="text" name="INSURE_TIME" id="INSURE_TIME"  maxlength="32" value="${pd.INSURE_TIME }"/></td> --%>
									<td><input class="span10 date-picker" name="INSURE_TIME" id="INSURE_TIME"   type="text" data-date-format="yyyy-mm-dd" readonly="readonly" value="${pd.INSURE_TIME }"/></td>
									<td><span class="span10">到期时间：</span></td>
<%-- 									<td><input type="text" name="EXPIRATION_TIME" id="EXPIRATION_TIME"  maxlength="32" value="${pd.EXPIRATION_TIME }"/></td> --%>
									<td><input class="span10 date-picker" name="EXPIRATION_TIME" id="EXPIRATION_TIME"   type="text" data-date-format="yyyy-mm-dd" readonly="readonly" value="${pd.INSURE_TIME }"/></td>
									<td><span class="span10">备注：</span></td>
									<td><input type="text" name="REMARK" id="REMARK"  maxlength="32" value="${pd.REMARK }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">初次登记号：</span></td>
									<td><input type="text" name="FIRST_REGISTER_NUMBER" id="FIRST_REGISTER_NUMBER"  maxlength="32" value="${pd.FIRST_REGISTER_NUMBER }"/></td>
									<td><span class="span10">船检登记号：</span></td>
									<td><input type="text" name="SHIP_INSPECTION_REGISTER_NUMBER" id="SHIP_INSPECTION_REGISTER_NUMBER"  maxlength="32" value="${pd.SHIP_INSPECTION_REGISTER_NUMBER }"/></td>
									<td><span class="span10">船舶识别码：</span></td>
									<td><input type="text" name="BOAT_IDENTIFICATION_CODE" id="BOAT_IDENTIFICATION_CODE"  maxlength="32" value="${pd.BOAT_IDENTIFICATION_CODE }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">营业运输证编号：</span></td>
									<td><input type="text" name="BUSINESS_TRANSPORT_NUMBER" id="BUSINESS_TRANSPORT_NUMBER"  maxlength="32" value="${pd.BUSINESS_TRANSPORT_NUMBER }"/></td>
									<td><span class="span10">船舶登记号：</span></td>
									<td><input type="text" name="BOAT_REGISTER_NUMBER" id="BOAT_REGISTER_NUMBER"  maxlength="32" value="${pd.BOAT_REGISTER_NUMBER }"/></td>
									<td><span class="span10">联系人：</span></td>
									<td><input type="text" name="CONTACT" id="CONTACT"  maxlength="32" value="${pd.CONTACT }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">船籍港：</span></td>
									<td><input type="text" name="SHIP_PORT" id="SHIP_PORT"  maxlength="32" value="${pd.SHIP_PORT }"/></td>
									<td><span class="span10">载重吨：</span></td>
									<td><input type="text" name="TON_WEIGHT" id="TON_WEIGHT"  maxlength="32" value="${pd.TON_WEIGHT }"/></td>
									<td><span class="span10">主机类型：</span></td>
									<td><input type="text" name="MASTER_TYPE" id="MASTER_TYPE"  maxlength="32" value="${pd.MASTER_TYPE }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">海关监管部：</span></td>
									<td><input type="text" name="CUSTOMS_SUPERVISE_DEPARTMENT" id="CUSTOMS_SUPERVISE_DEPARTMENT"  maxlength="32" value="${pd.CUSTOMS_SUPERVISE_DEPARTMENT }"/></td>
									<td><span class="span10">川江及三峡库区船舶航行证书：</span></td>
									<td><input type="text" name="CHUANGJIANG_AND_THREE_GORGES_CERTIFICATE" id="CHUANGJIANG_AND_THREE_GORGES_CERTIFICATE"  maxlength="32" value="${pd.CHUANGJIANG_AND_THREE_GORGES_CERTIFICATE }"/></td>
									<td><span class="span10">内河船舶登记证书(国籍证书)：</span></td>
									<td><input type="text" name="INLAND_BOAT_REGISTRATION" id="INLAND_BOAT_REGISTRATION"  maxlength="32" value="${pd.INLAND_BOAT_REGISTRATION }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">内河船舶载重线证书：</span></td>
									<td><input type="text" name="INLAND_BOAT_LOAD_CERTIFICATE" id="INLAND_BOAT_LOAD_CERTIFICATE"  maxlength="32" value="${pd.INLAND_BOAT_LOAD_CERTIFICATE }"/></td>
									<td><span class="span10">内河船舶防止生活污水污染证书：</span></td>
									<td><input type="text" name="INLAND_BOAT_POLLUTION_PREVERTION" id="INLAND_BOAT_POLLUTION_PREVERTION"  maxlength="32"value="${pd.INLAND_BOAT_POLLUTION_PREVERTION }" /></td>
									<td><span class="span10">水路运输许可证书：</span></td>
									<td><input type="text" name="WATER_TRANSPROTATION_LICENCE" id="WATER_TRANSPROTATION_LICENCE"  maxlength="32" value="${pd.WATER_TRANSPROTATION_LICENCE }" /></td>
 									</tr>
 									<tr>
 									<td><span class="span10">船舶年检合格证书：</span></td>
									<td><input type="text" name="BOAT_YEAR_INSPECTION_CERTIFICATE" id="BOAT_YEAR_INSPECTION_CERTIFICATE"  maxlength="32" value="${pd.BOAT_YEAR_INSPECTION_CERTIFICATE }" /></td>
									<td><span class="span10">内河船舶适航证书：</span></td>
									<td><input type="text" name="INLAND_BOAT_FIT_SAIL_CERTIFICATE" id="INLAND_BOAT_FIT_SAIL_CERTIFICATE"  maxlength="32" value="${pd.INLAND_BOAT_FIT_SAIL_CERTIFICATE }" /></td>
									<td><span class="span10">船舶保险险种：</span></td>
									<td><input type="text" name="BOAT_INSURANCE_TYOE" id="BOAT_INSURANCE_TYOE"  maxlength="32" value="${pd.BOAT_INSURANCE_TYOE }" /></td>
 									</tr>
 									<tr>
 									<td><span class="span10">船舶保险公司：</span></td>
									<td><input type="text" name="BOAT_INSURANCE_COMPANY" id="BOAT_INSURANCE_COMPANY"  maxlength="32" value="${pd.BOAT_INSURANCE_COMPANY }"/></td>
									<td><span class="span10">投保金额：</span></td>
									<td><input type="text" name="INSURE_AMOUNT" id="INSURE_AMOUNT"  maxlength="32" value="${pd.INSURE_AMOUNT }"/></td>
									<td><span class="span10">保险生效期：</span></td>
<%-- 									<td><input type="text" name="INSURANCE_EFFECTIVE_PERIOD" id="INSURANCE_EFFECTIVE_PERIOD"  maxlength="32" value="${pd.INSURANCE_EFFECTIVE_PERIOD }"/></td> --%>
									<td><input class="span10 date-picker" name="INSURANCE_EFFECTIVE_PERIOD" id="INSURANCE_EFFECTIVE_PERIOD"   type="text" data-date-format="yyyy-mm-dd" readonly="readonly" value="${pd.INSURANCE_EFFECTIVE_PERIOD }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">保险到期日：</span></td>
<%-- 									<td><input type="text" name="INSURANCE_DUE_DATE" id="INSURANCE_DUE_DATE"  maxlength="32" value="${pd.INSURANCE_DUE_DATE }"/></td> --%>
									<td><input class="span10 date-picker" name="INSURANCE_DUE_DATE" id="INSURANCE_DUE_DATE"   type="text" data-date-format="yyyy-mm-dd" readonly="readonly" value="${pd.INSURANCE_DUE_DATE }"/></td>
									<td><span class="span10">太平船代码：</span></td>
									<td><input type="text" name="PEACE_BOAT_CODE" id="PEACE_BOAT_CODE"  maxlength="32" value="${pd.PEACE_BOAT_CODE }"/></td>
									<td><span class="span10">太平船名：</span></td>
									<td><input type="text" name="PEACE_BOAT_NAME" id="PEACE_BOAT_NAME"  maxlength="32" value="${pd.PEACE_BOAT_NAME }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">长荣船代码：</span></td>
									<td><input type="text" name="CHANGRONG_BOAT_CODE" id="CHANGRONG_BOAT_CODE"  maxlength="32" value="${pd.CHANGRONG_BOAT_CODE }"/></td>
									<td><span class="span10">长荣船名：</span></td>
									<td><input type="text" name="CHANGRONG_BOAT_NAME" id="CHANGRONG_BOAT_NAME"  maxlength="32" value="${pd.CHANGRONG_BOAT_NAME }"/></td>
									<td><span class="span10">马士基船代码：</span></td>
									<td><input type="text" name="MAERSK_BOAT_CODE" id="MAERSK_BOAT_CODE"  maxlength="32" value="${pd.MAERSK_BOAT_CODE }"/></td>
 									</tr>
 									<tr>
 									<td><span class="span10">马士基船名：</span></td>
									<td><input type="text" name="MAERSK_BOAT_NAME" id="MAERSK_BOAT_NAME"  maxlength="32" value="${pd.MAERSK_BOAT_NAME }"/></td>
									<td><span class="span10">UASC船代码：</span></td>
									<td><input type="text" name="UASC_BOAT_CODE" id="UASC_BOAT_CODE"  maxlength="32" value="${pd.UASC_BOAT_CODE }"/></td>
									<td><span class="span10">UASC船名：</span></td>
									<td><input type="text" name="UASC_BOAT_NAME" id="UASC_BOAT_NAME"  maxlength="32" value="${pd.UASC_BOAT_NAME }"/></td>
 									</tr>
											<tr>
											<td style="text-align: center;" colspan="10">
												<a class="btn btn-xs btn-success">
													<i class="ace-icon fa fa-pencil-square-o bigger-120" onclick="updateInfo('${pd.ID}');">保存</i>
												</a>
													<a class="btn btn-xs btn-success">
													<i class="ace-icon fa fa-pencil-square-o bigger-120" onclick="top.Dialog.close();">关闭</i>
												</a>
												</td>
											</table>
											</fieldset>
											</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- 日期框 -->
	<script src="../plugins/static/ace/js/date-time/bootstrap-datepicker.js"></script>
</body>
<script type="text/javascript">
$(function(){
	
	//日期框
	$('.date-picker').datepicker({autoclose: true,todayHighlight: true});
});
//数字和小数点验证
function number(){
	var Page_num=document.getElementById("SHIP_TOTAL_LENGTH");
	var Page_num1=document.getElementById("SHIP_LENGTH");
	var Page_num2=document.getElementById("MAX_BOAT_HIGH");
	var Page_num3=document.getElementById("MAX_BOAT_WIDE");
	var Page_num4=document.getElementById("TYPE_DEEP");
	var Page_num5=document.getElementById("FREIGHT_CAPACITY");
	var Page_num6=document.getElementById("LOAD_DISPLACEMENT");
	var Page_num7=document.getElementById("LIGHT_DISPLACEMENT");
	var Page_num8=document.getElementById("LOAD_DRAUGHT");
	var Page_num9=document.getElementById("LIGHT_DRAUGHT");
	
	var showPage=document.getElementById("showPage");
	var showPage1=document.getElementById("showPage1");
	var showPage2=document.getElementById("showPage2");
	var showPage3=document.getElementById("showPage3");
	var showPage4=document.getElementById("showPage4");
	var showPage5=document.getElementById("showPage5");
	var showPage6=document.getElementById("showPage6");
	var showPage7=document.getElementById("showPage7");
	var showPage8=document.getElementById("showPage8");
	var showPage9=document.getElementById("showPage9");

	
	Judge(Page_num,/^\d*\.{0,1}\d{0,1}$/,showPage);
	Judge(Page_num1,/^\d*\.{0,1}\d{0,1}$/,showPage1);
	Judge(Page_num2,/^\d*\.{0,1}\d{0,1}$/,showPage2);
	Judge(Page_num3,/^\d*\.{0,1}\d{0,1}$/,showPage3);
	
	Judge(Page_num4,/^\d*\.{0,1}\d{0,1}$/,showPage4);
	Judge(Page_num5,/^\d*\.{0,1}\d{0,1}$/,showPage5);
	
	Judge(Page_num6,/^\d*\.{0,1}\d{0,1}$/,showPage6);
	Judge(Page_num7,/^\d*\.{0,1}\d{0,1}$/,showPage7);
	Judge(Page_num8,/^\d*\.{0,1}\d{0,1}$/,showPage8);
	Judge(Page_num9,/^\d*\.{0,1}\d{0,1}$/,showPage9);
	function Judge(k,m,n){
	var patrn=m;
	if (patrn.exec(k.value)) {
		n.setAttribute("style","display:none;");
		return;
		} 
	else{
	if(k.value==""){
	//n.setAttribute("style","display:none;");
	return;
	}else{
	n.setAttribute("style","display:inline;");
	n.setAttribute("style","color:red;font-size:10px;");
	k.value="";
	}
	}
	}
	}
	//数字验证
function numberTwo(){

	var Page_num=document.getElementById("GROSS_REGISTERED_TONNAGE");
	var Page_num1=document.getElementById("NET_TON");
	var Page_num2=document.getElementById("MASTER_NUMBER");
	var Page_num3=document.getElementById("MASTER_POWER");
	var showPage=document.getElementById("show");
	var showPage1=document.getElementById("show1");
	var showPage2=document.getElementById("show2");
	var showPage3=document.getElementById("show3");

	Judge(Page_num,/^\d+$/,showPage);
	Judge(Page_num1,/^\d+$/,showPage1);
	Judge(Page_num2,/^\d+$/,showPage2);
	Judge(Page_num3,/^\d+$/,showPage3);
// 	Judge(cheap_price,/^\d{0,8}\.{0,1}(\d{1,2})?$/,showCheap);
	function Judge(k,m,n){
	var patrn=m;
	if (patrn.exec(k.value)) {
		
		n.setAttribute("style","display:none;");
		return;
		} 
	else{
	if(k.value==""){
	//n.setAttribute("style","display:none;");
	return;
	}else{
	n.setAttribute("style","display:inline;");
	n.setAttribute("style","color:red;font-size:10px;");
	k.value="";
	}
	}
	}
	}
function updateInfo(ID){
		 $.ajax({
	         type: "POST",
	         url: '<%=basePath%>boatBaseDataManage/saveOrUpdateBoatBaseDataManage?ID='+ID,
	         data: $("#transportClauseForm").serialize(),
	         dataType: 'json',
	         //beforeSend: validateData,
	         cache: false,
	         success: function (data) {
	        	 top.Dialog.close()
	        	 
	         }
	     });
	
}
</script>
</html>